<!--The content below is only a placeholder and can be replaced.-->
<div style="text-align:center">
  <h1>
    Welcome to {{title}}!
  </h1>
  <img width="300" src="">
</div>


<button (click)="connectTest()">连接测试</button>

<button (click)="postObjectTest()">数据提交测试</button>

<input type="text" name="" id="" placeholder="用户名" [(ngModel)]="user.username">
<input type="text" name="" id="" placeholder="密码" [(ngModel)]="user.password">



<button (click)="postAnFormTest()">表单对象提交测试</button>

<hr>
<output>{{user.username}}</output>
<hr>
<output>{{user.password}}</output>
<button (click)="signup()">用户注册</button>

<hr>
<button (click)="login()">登陆</button>